import {BASE_DOMAIN} from '../../env/domain';

//////////////登录//////////////
export const LOGIN_URL = `${BASE_DOMAIN}/nnc/auth/login`;

//////////////用户//////////////
export const USER_INFO_URL = `${BASE_DOMAIN}/nnc/user/getUserInfo`;
export const SEARCH_USER_INFO_URL = `${BASE_DOMAIN}/nnc/user/getUserListByNamePrefix`;
export const GET_USER_LIST_URL = `${BASE_DOMAIN}/nnc/user/getUserListByPage`;
export const FORBID_USER_URL = `${BASE_DOMAIN}/nnc/user/blockUserByIds`;
export const MODIFY_USER_ROLE_URL = `${BASE_DOMAIN}/nnc/user/modifyUserRole`;

//////////////运营//////////////
//获取运营位列表 new
export const OPERATE_URL = `${BASE_DOMAIN}/nnc/operate`;
export const MOVE_OPERATE_POSITION = `${BASE_DOMAIN}/nnc/operate/moveOperatePosition`;

//////////////文章//////////////
//获取运营位列表 new
export const ARTICLE_URL = `${BASE_DOMAIN}/nnc/post`;
export const USER_ARTICLE_URL = `${BASE_DOMAIN}/nnc/post/user`;
export const COMMENT_URL = `${BASE_DOMAIN}/nnc/comment`;
export const CATEGORY_URL = `${BASE_DOMAIN}/nnc/post/getPostCategory`;
export const POLL_URL = `${BASE_DOMAIN}/nnc/poll`;

//////////////车辆//////////////
export const GET_SPECLIST_URL = `${BASE_DOMAIN}/nnc/vehicle/getVehicleSpecByModelId`;
export const GET_BRAND_URL = `${BASE_DOMAIN}/nnc/vehicle/getVehicleBrandByCapital`;
export const GET_MODEL_DETAIL_URL = `${BASE_DOMAIN}/nnc/vehicle/getModelDetailBySpecId`;
export const MODEL_DETAIL_URL = `${BASE_DOMAIN}/nnc/vehicle/updateModelDetail`;
export const CARTYPE_URL = `${BASE_DOMAIN}/nnc/vehicle/getCarType`;
export const SEARCH_BRAND_LIST_URL = `${BASE_DOMAIN}/nnc/vehicle/getBrandListByNamePrefix`;
export const ADD_MODEL_URL = `${BASE_DOMAIN}/nnc/vehicle/model`;

//////////////公共//////////////
export const UPLOAD_URL = `${BASE_DOMAIN}/nnc/common/upload`;

//////////////举报//////////////
export const REPORT_LIST_URL = `${BASE_DOMAIN}/nnc/report`;
